package com.fegin.VO.admin;

import com.fegin.bean.admin.ContentNews;
import com.util.pageinfoutil.PageUtil;

/**
 * @author 卫星
 * @package com.fegin.VO.admin
 * @date 2019-03-05  18:57
 * @project CurrenCy-Cloud
 */
public class ContentNewsVO {
    private PageUtil pageUtil;

    private ContentNews contentNews;

    public ContentNewsVO() {

    }

    public ContentNewsVO(PageUtil pageUtil, ContentNews contentNews) {
        this.pageUtil = pageUtil;
        this.contentNews = contentNews;
    }

    public PageUtil getPageUtil() {
        if (pageUtil == null) {
            return new PageUtil();
        }
        return pageUtil;
    }

    public void setPageUtil(PageUtil pageUtil) {
        this.pageUtil = pageUtil;
    }

    public ContentNews getContentNews() {
        if (contentNews == null) {
            return new ContentNews();
        }
        return contentNews;
    }

    public void setContentNews(ContentNews contentNews) {
        this.contentNews = contentNews;
    }
}
